package com.example.demotest_day29.Dao;

import com.example.demotest_day29.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserDao {
    @Select("select * from user where username = #{userName}")
    public User getUserByName(String userName);

}
